-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic alignment computation for SIMD error functions #90
Conversation
This pull request was exported from Phabricator. Differential Revision: D63658278 |
This pull request was exported from Phabricator. Differential Revision: D63658278 |
a2ce2cb
to
4376b20
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Pull Request resolved: #90 Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
4376b20
to
db0b7b5
Compare
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
db0b7b5
to
fbdd67a
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
fbdd67a
to
f93eedb
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
f93eedb
to
2c572f1
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
2c572f1
to
4dd0812
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
4dd0812
to
1b73203
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
1b73203
to
5d30cc3
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
5d30cc3
to
2b06e87
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
2b06e87
to
4f952cc
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
Summary: Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via DrJit at compile-time, ensuring compatibility across different SIMD instruction sets. Detailed changes: - Add constants for packet sizes and alignment sizes for both DrJit and AVX versions, rather than using magic numbers - Centralize `checkAlignment()` - Fix `getJacobianSize()` for both DrJit and AVX versions, correctly utilizing the package size - Update tests to check around the number of constraints around the package size to ensure the new `getJacobianSize()` works - Update GitHub CI to test both SIMD-enabled and disabled NOTE: This Diff the second trial of D47103616 Differential Revision: D63658278
4f952cc
to
a2f34cc
Compare
This pull request was exported from Phabricator. Differential Revision: D63658278 |
This pull request has been merged in 6d8f901. |
Summary:
Previously, a static alignment value of 32 was used for AVX in SIMD implementations. This diff modifies this approach to dynamically determine the correct alignment value via Enoki at compile-time, ensuring compatibility across different SIMD instruction sets.
NOTE: This Diff the second trial of D47103616
Differential Revision: D63658278